package com.wayin.model;

import java.io.Serializable;

public class Picture implements Serializable {
    private static final long serialVersionUID = 1L;
    private String picture_no;
    private String pic_name;
    private long pic_size;
    private byte[] pic_data;

    public void setPicture_no(String picture_no) {
        this.picture_no = picture_no;
    }

    public void setPic_name(String pic_name) {
        this.pic_name = pic_name;
    }

    public void setPic_size(long pic_size) {
        this.pic_size = pic_size;
    }

    public void setPic_data(byte[] pic_data) {
        this.pic_data = new byte[pic_data.length];
        for (int i = 0; i < pic_data.length; i++) {
            this.pic_data[i] = pic_data[i];
        }
    }

    public String getPicture_no() {
        return picture_no;
    }

    public byte[] getPic_data() {
        return pic_data;
    }

    public String getPic_name() {
        return pic_name;
    }

    public long getPic_size() {
        return pic_size;
    }

}
